package beans;

import java.util.List;

import javax.ejb.Remote;

import dto.DTOUser;
import dto.RepositoryDTO;
/**
 * 
 * @author Zsolt
 *
 */
@Remote
public interface RepositoryBeanRemote {

	public void addRepositoryDTO(RepositoryDTO rDto);
	public void deleteRepository(int repositoryid);
	public void changeSupervisor(RepositoryDTO rDto);
	public DTOUser getAllUserNames();
	public RepositoryDTO getAllRepositoryNames();
	public boolean existsNameInDB(String enteredName);
	public List<RepositoryDTO> getRepositoriesWhereNotMember(Integer id);
	public List<RepositoryDTO> getAllRepositories();
	public  void addUserToRepository(int idUser, int idRepository);
	public String getRepID(RepositoryDTO rDto);
}
